package com.dabaozhan.modules.wx_app.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.dabaozhan.modules.wx_app.entity.InventoryEntity;
import com.dabaozhan.modules.wx_app.entity.QueryListBaseEntity;

@Mapper
public interface InventoryMapper {
	
	public List<InventoryEntity> getInventoryList(QueryListBaseEntity entity);
	
	public List<InventoryEntity> getAllList(@Param("userId")String userId);
	
	public long getInventoryCount(QueryListBaseEntity entity);
	
	public int addInventory(InventoryEntity entity);
	
	public int deleteInventory(InventoryEntity entity);
	
}
